import request from "@/utils/request";

// 评估区分类统计
export function getDamageAreaProportion(query) {
  return request({
    url: "/classifiedStatistics/getDamageAreaProportion",
    method: "get",
    params: query,
  });
}

// 结构类型面积占比
export function getStructureAreaProportion(query) {
    return request({
      url: "/classifiedStatistics/getStructureAreaProportion",
      method: "get",
      params: query,
    });
}

// 获取当前地震事件下所有的评估子区
export function getTaskListByXsemId(query) {
    return request({
      url: "/surTaskManage/getTaskListByXsemId",
      method: "get",
      params: query,
    });
  }